home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C03 / Borland.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  8.4 KB  |  335 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C03
  7. # using the Borland compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Borland.makefile
  11.  
  12. # Note: this requires the upgrade from
  13. # www.Borland.com for successful compilation!
  14. CPP = Bcc32
  15. CPPFLAGS = -w-inl -w-csu -wnak
  16. OFLAG = -e
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Declare.exe \
  25.     Return.exe \
  26.     Ifthen.exe \
  27.     Guess.exe \
  28.     Guess2.exe \
  29.     Charlist.exe \
  30.     Menu.exe \
  31.     Menu2.exe \
  32.     CatsInHats.exe \
  33.     AutoIncrement.exe \
  34.     Basic.exe \
  35.     Specify.exe \
  36.     YourPets1.exe \
  37.     YourPets2.exe \
  38.     PassByValue.exe \
  39.     PassAddress.exe \
  40.     PassReference.exe \
  41.     AllDefinitions.exe \
  42.     VoidPointer.exe \
  43.     CastFromVoidPointer.exe \
  44.     Scope.exe \
  45.     OnTheFly.exe \
  46.     Global.exe \
  47.     Static.exe \
  48.     FileStatic.exe \
  49.     Forward.exe \
  50.     Mathops.exe \
  51.     Boolean.exe \
  52.     Bitwise.exe \
  53.     Pitfall.exe \
  54.     SimpleStruct.exe \
  55.     SimpleStruct2.exe \
  56.     SelfReferential.exe \
  57.     SimpleStruct3.exe \
  58.     Enum.exe \
  59.     Union.exe \
  60.     Arrays.exe \
  61.     StructArray.exe \
  62.     ArrayAddresses.exe \
  63.     ArrayIdentifier.exe \
  64.     PointersAndBrackets.exe \
  65.     ArrayArguments.exe \
  66.     CommandLineArgs.exe \
  67.     ArgsToInts.exe \
  68.     PointerIncrement.exe \
  69.     PointerIncrement2.exe \
  70.     PointerArithmetic.exe \
  71.     DynamicDebugFlags.exe \
  72.     StringizingExpressions.exe \
  73.     Assert.exe 
  74.  
  75. test: all 
  76.     Declare.exe  
  77.     Return.exe  
  78.     Ifthen.exe  
  79.     Guess.exe  
  80.     Guess2.exe  
  81.     Charlist.exe  
  82.     Menu.exe  
  83.     Menu2.exe  
  84.     CatsInHats.exe  
  85.     AutoIncrement.exe  
  86.     Basic.exe  
  87.     Specify.exe  
  88.     YourPets1.exe  
  89.     YourPets2.exe  
  90.     PassByValue.exe  
  91.     PassAddress.exe  
  92.     PassReference.exe  
  93.     AllDefinitions.exe  
  94.     VoidPointer.exe  
  95.     CastFromVoidPointer.exe  
  96.     Scope.exe  
  97.     OnTheFly.exe  
  98.     Global.exe  
  99.     Static.exe  
  100.     FileStatic.exe  
  101.     Forward.exe  
  102.     Mathops.exe  
  103.     Boolean.exe  
  104.     Bitwise.exe  
  105.     Pitfall.exe  
  106.     SimpleStruct.exe  
  107.     SimpleStruct2.exe  
  108.     SelfReferential.exe  
  109.     SimpleStruct3.exe  
  110.     Enum.exe  
  111.     Union.exe  
  112.     Arrays.exe  
  113.     StructArray.exe  
  114.     ArrayAddresses.exe  
  115.     ArrayIdentifier.exe  
  116.     PointersAndBrackets.exe  
  117.     ArrayArguments.exe  
  118.     CommandLineArgs.exe  
  119.     ArgsToInts.exe  
  120.     PointerIncrement.exe  
  121.     PointerIncrement2.exe  
  122.     PointerArithmetic.exe  
  123.     DynamicDebugFlags.exe  
  124.     StringizingExpressions.exe  
  125.     Assert.exe  
  126.  
  127. bugs: 
  128.     @echo No compiler bugs in this directory!
  129.  
  130. Declare.exe: Declare.obj 
  131.     $(CPP) $(OFLAG)Declare.exe Declare.obj 
  132.  
  133. Return.exe: Return.obj 
  134.     $(CPP) $(OFLAG)Return.exe Return.obj 
  135.  
  136. Ifthen.exe: Ifthen.obj 
  137.     $(CPP) $(OFLAG)Ifthen.exe Ifthen.obj 
  138.  
  139. Guess.exe: Guess.obj 
  140.     $(CPP) $(OFLAG)Guess.exe Guess.obj 
  141.  
  142. Guess2.exe: Guess2.obj 
  143.     $(CPP) $(OFLAG)Guess2.exe Guess2.obj 
  144.  
  145. Charlist.exe: Charlist.obj 
  146.     $(CPP) $(OFLAG)Charlist.exe Charlist.obj 
  147.  
  148. Menu.exe: Menu.obj 
  149.     $(CPP) $(OFLAG)Menu.exe Menu.obj 
  150.  
  151. Menu2.exe: Menu2.obj 
  152.     $(CPP) $(OFLAG)Menu2.exe Menu2.obj 
  153.  
  154. CatsInHats.exe: CatsInHats.obj 
  155.     $(CPP) $(OFLAG)CatsInHats.exe CatsInHats.obj 
  156.  
  157. AutoIncrement.exe: AutoIncrement.obj 
  158.     $(CPP) $(OFLAG)AutoIncrement.exe AutoIncrement.obj 
  159.  
  160. Basic.exe: Basic.obj 
  161.     $(CPP) $(OFLAG)Basic.exe Basic.obj 
  162.  
  163. Specify.exe: Specify.obj 
  164.     $(CPP) $(OFLAG)Specify.exe Specify.obj 
  165.  
  166. YourPets1.exe: YourPets1.obj 
  167.     $(CPP) $(OFLAG)YourPets1.exe YourPets1.obj 
  168.  
  169. YourPets2.exe: YourPets2.obj 
  170.     $(CPP) $(OFLAG)YourPets2.exe YourPets2.obj 
  171.  
  172. PassByValue.exe: PassByValue.obj 
  173.     $(CPP) $(OFLAG)PassByValue.exe PassByValue.obj 
  174.  
  175. PassAddress.exe: PassAddress.obj 
  176.     $(CPP) $(OFLAG)PassAddress.exe PassAddress.obj 
  177.  
  178. PassReference.exe: PassReference.obj 
  179.     $(CPP) $(OFLAG)PassReference.exe PassReference.obj 
  180.  
  181. AllDefinitions.exe: AllDefinitions.obj 
  182.     $(CPP) $(OFLAG)AllDefinitions.exe AllDefinitions.obj 
  183.  
  184. VoidPointer.exe: VoidPointer.obj 
  185.     $(CPP) $(OFLAG)VoidPointer.exe VoidPointer.obj 
  186.  
  187. CastFromVoidPointer.exe: CastFromVoidPointer.obj 
  188.     $(CPP) $(OFLAG)CastFromVoidPointer.exe CastFromVoidPointer.obj 
  189.  
  190. Scope.exe: Scope.obj 
  191.     $(CPP) $(OFLAG)Scope.exe Scope.obj 
  192.  
  193. OnTheFly.exe: OnTheFly.obj 
  194.     $(CPP) $(OFLAG)OnTheFly.exe OnTheFly.obj 
  195.  
  196. Global.exe: Global.obj Global2.obj 
  197.     $(CPP) $(OFLAG)Global.exe Global.obj Global2.obj 
  198.  
  199. Static.exe: Static.obj 
  200.     $(CPP) $(OFLAG)Static.exe Static.obj 
  201.  
  202. FileStatic.exe: FileStatic.obj 
  203.     $(CPP) $(OFLAG)FileStatic.exe FileStatic.obj 
  204.  
  205. Forward.exe: Forward.obj 
  206.     $(CPP) $(OFLAG)Forward.exe Forward.obj 
  207.  
  208. Mathops.exe: Mathops.obj 
  209.     $(CPP) $(OFLAG)Mathops.exe Mathops.obj 
  210.  
  211. Boolean.exe: Boolean.obj 
  212.     $(CPP) $(OFLAG)Boolean.exe Boolean.obj 
  213.  
  214. Bitwise.exe: Bitwise.obj 
  215.     $(CPP) $(OFLAG)Bitwise.exe Bitwise.obj 
  216.  
  217. Pitfall.exe: Pitfall.obj 
  218.     $(CPP) $(OFLAG)Pitfall.exe Pitfall.obj 
  219.  
  220. SimpleStruct.exe: SimpleStruct.obj 
  221.     $(CPP) $(OFLAG)SimpleStruct.exe SimpleStruct.obj 
  222.  
  223. SimpleStruct2.exe: SimpleStruct2.obj 
  224.     $(CPP) $(OFLAG)SimpleStruct2.exe SimpleStruct2.obj 
  225.  
  226. SelfReferential.exe: SelfReferential.obj 
  227.     $(CPP) $(OFLAG)SelfReferential.exe SelfReferential.obj 
  228.  
  229. SimpleStruct3.exe: SimpleStruct3.obj 
  230.     $(CPP) $(OFLAG)SimpleStruct3.exe SimpleStruct3.obj 
  231.  
  232. Enum.exe: Enum.obj 
  233.     $(CPP) $(OFLAG)Enum.exe Enum.obj 
  234.  
  235. Union.exe: Union.obj 
  236.     $(CPP) $(OFLAG)Union.exe Union.obj 
  237.  
  238. Arrays.exe: Arrays.obj 
  239.     $(CPP) $(OFLAG)Arrays.exe Arrays.obj 
  240.  
  241. StructArray.exe: StructArray.obj 
  242.     $(CPP) $(OFLAG)StructArray.exe StructArray.obj 
  243.  
  244. ArrayAddresses.exe: ArrayAddresses.obj 
  245.     $(CPP) $(OFLAG)ArrayAddresses.exe ArrayAddresses.obj 
  246.  
  247. ArrayIdentifier.exe: ArrayIdentifier.obj 
  248.     $(CPP) $(OFLAG)ArrayIdentifier.exe ArrayIdentifier.obj 
  249.  
  250. PointersAndBrackets.exe: PointersAndBrackets.obj 
  251.     $(CPP) $(OFLAG)PointersAndBrackets.exe PointersAndBrackets.obj 
  252.  
  253. ArrayArguments.exe: ArrayArguments.obj 
  254.     $(CPP) $(OFLAG)ArrayArguments.exe ArrayArguments.obj 
  255.  
  256. CommandLineArgs.exe: CommandLineArgs.obj 
  257.     $(CPP) $(OFLAG)CommandLineArgs.exe CommandLineArgs.obj 
  258.  
  259. ArgsToInts.exe: ArgsToInts.obj 
  260.     $(CPP) $(OFLAG)ArgsToInts.exe ArgsToInts.obj 
  261.  
  262. PointerIncrement.exe: PointerIncrement.obj 
  263.     $(CPP) $(OFLAG)PointerIncrement.exe PointerIncrement.obj 
  264.  
  265. PointerIncrement2.exe: PointerIncrement2.obj 
  266.     $(CPP) $(OFLAG)PointerIncrement2.exe PointerIncrement2.obj 
  267.  
  268. PointerArithmetic.exe: PointerArithmetic.obj 
  269.     $(CPP) $(OFLAG)PointerArithmetic.exe PointerArithmetic.obj 
  270.  
  271. DynamicDebugFlags.exe: DynamicDebugFlags.obj 
  272.     $(CPP) $(OFLAG)DynamicDebugFlags.exe DynamicDebugFlags.obj 
  273.  
  274. StringizingExpressions.exe: StringizingExpressions.obj 
  275.     $(CPP) $(OFLAG)StringizingExpressions.exe StringizingExpressions.obj 
  276.  
  277. Assert.exe: Assert.obj 
  278.     $(CPP) $(OFLAG)Assert.exe Assert.obj 
  279.  
  280.  
  281. Declare.obj: Declare.cpp 
  282. Return.obj: Return.cpp 
  283. Ifthen.obj: Ifthen.cpp 
  284. Guess.obj: Guess.cpp 
  285. Guess2.obj: Guess2.cpp 
  286. Charlist.obj: Charlist.cpp 
  287. Menu.obj: Menu.cpp 
  288. Menu2.obj: Menu2.cpp 
  289. CatsInHats.obj: CatsInHats.cpp 
  290. AutoIncrement.obj: AutoIncrement.cpp 
  291. Basic.obj: Basic.cpp 
  292. Specify.obj: Specify.cpp 
  293. YourPets1.obj: YourPets1.cpp 
  294. YourPets2.obj: YourPets2.cpp 
  295. PassByValue.obj: PassByValue.cpp 
  296. PassAddress.obj: PassAddress.cpp 
  297. PassReference.obj: PassReference.cpp 
  298. AllDefinitions.obj: AllDefinitions.cpp 
  299. VoidPointer.obj: VoidPointer.cpp 
  300. CastFromVoidPointer.obj: CastFromVoidPointer.cpp 
  301. Scope.obj: Scope.cpp 
  302. OnTheFly.obj: OnTheFly.cpp 
  303. Global.obj: Global.cpp 
  304. Global2.obj: Global2.cpp 
  305. Static.obj: Static.cpp 
  306. FileStatic.obj: FileStatic.cpp 
  307. FileStatic2.obj: FileStatic2.cpp 
  308. Forward.obj: Forward.cpp 
  309. Mathops.obj: Mathops.cpp 
  310. Boolean.obj: Boolean.cpp 
  311. Bitwise.obj: Bitwise.cpp 
  312. Rotation.obj: Rotation.cpp 
  313. Pitfall.obj: Pitfall.cpp 
  314. SimpleStruct.obj: SimpleStruct.cpp 
  315. SimpleStruct2.obj: SimpleStruct2.cpp 
  316. SelfReferential.obj: SelfReferential.cpp 
  317. SimpleStruct3.obj: SimpleStruct3.cpp 
  318. Enum.obj: Enum.cpp 
  319. Union.obj: Union.cpp 
  320. Arrays.obj: Arrays.cpp 
  321. StructArray.obj: StructArray.cpp 
  322. ArrayAddresses.obj: ArrayAddresses.cpp 
  323. ArrayIdentifier.obj: ArrayIdentifier.cpp 
  324. PointersAndBrackets.obj: PointersAndBrackets.cpp 
  325. ArrayArguments.obj: ArrayArguments.cpp 
  326. CommandLineArgs.obj: CommandLineArgs.cpp 
  327. ArgsToInts.obj: ArgsToInts.cpp 
  328. PointerIncrement.obj: PointerIncrement.cpp 
  329. PointerIncrement2.obj: PointerIncrement2.cpp 
  330. PointerArithmetic.obj: PointerArithmetic.cpp 
  331. DynamicDebugFlags.obj: DynamicDebugFlags.cpp 
  332. StringizingExpressions.obj: StringizingExpressions.cpp 
  333. Assert.obj: Assert.cpp 
  334.  
  335.